package com.lk.model.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
* 用户
* @TableName user
*/
@Data
public class User implements Serializable {

    private static final long serialVersionUID = -4255565921992490423L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String userAccount;

    private String avatarUrl;

    private Integer gender;

    private String profile;

    private String userPassword;

    private String phone;

    private String email;

    private Integer userStatus;

    /**
     * 标签列表 json
     */
    private String tags;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    //用户角色，0用户，1管理员
    private Integer userRole;

    /**
     * 添加的好友
     */
    private String userIds;

    @TableLogic
    private Integer isDelete;
}
